package com.meng.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;


/**
 * 测试服务提供
 *
 * @author MENG
 * @version 2018/1/2
 * @see
 */
@RestController
public class HelloController
{
    @RequestMapping("sayHello")
    public String sayHello(@RequestParam("name") String name)
    {
        return "hello "+name+"，this is Producer2 service";
    }
}
